package com.extrace.server.dto;

import com.extrace.server.pojo.Customer;
import com.extrace.server.pojo.Express;
import com.extrace.server.pojo.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.sql.Timestamp;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 23735
 * Date: 2024-04-10
 * Time: 17:13
 */

@Data
@Component
public class ExpressDTO extends Express {
    // 不使用 id, 寄件人收件人使用 昵称， 即字符串
    private String senderName;
    private String receiverName;
    // 电话
    private String senderTel;
    private String receiverTel;
    // 地区码
    private String senderAddressCode;
    private String receiverAddressCode;
    // 详细地址
    private String senderDetailAddress;
    private String receiverDetailAddress;
}
